import request from '@/utils/request'

export function getType(data) {
  return request({
    url: '/good/type',
    method: 'get',
    params: data
  })
}

export function getMall(data) {
  return request({
    url: '/good/mall',
    method: 'get',
    params: data
  })
}

export function getHot(data) {
  return request({
    url: '/good/hot',
    method: 'get',
    params: data
  })
}

export function getDetail(data) {
  return request({
    url: '/good/detail',
    method: 'get',
    params: data
  })
}
